$OpenBSD: patch-configure,v 1.14 2014/06/02 12:31:44 ajacoutot Exp $
--- configure.orig	Sat May 31 20:14:07 2014
+++ configure	Mon Jun  2 13:23:11 2014
@@ -16604,7 +16604,7 @@ _ACEOF
 
     CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -g"
 else
-    CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -O2"
+    CFLAGS="$CFLAGS $OSX_CFLAGS -Wall"
 fi
 
 # Check whether --enable-disable-activation-code was given.
@@ -17464,7 +17464,7 @@ if test  "x$PYTHON_LIBS" = "x" ; then
 
    python_libdir=`$PYTHON -c "import distutils.sysconfig ; print distutils.sysconfig.get_config_var(\"LIBDIR\")"`
 
-   PYTHON_LIBS="-L${python_libdir} ${python_link}"
+   PYTHON_LIBS="-L${python_libdir} ${python_link} -lutil"
 fi
 
 
